﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Drawing;
using System.Reflection;
using Studio.Network.Utilities;
using System.Text;

namespace Studio.Network.Kaixin001
{
    public class KXApplication
    {
        public static readonly KXApplication KX_APP_PARKING = new KXApplication(1040, "抢车位");
        public static readonly KXApplication KX_APP_MUSIC = new KXApplication(1006, "音乐");
        public static readonly KXApplication KX_APP_DISK = new KXApplication(1008, "网络硬盘");
        public static readonly KXApplication KX_APP_COLLECT = new KXApplication(1010, "收藏");
        public static readonly KXApplication KX_APP_PRESENT = new KXApplication(1001, "礼物");
        public static readonly KXApplication KX_APP_MOVIE = new KXApplication(1030, "电影");
        public static readonly KXApplication KX_APP_SLAVE = new KXApplication(1028, "好友买卖");
        public static readonly KXApplication KX_APP_BITE = new KXApplication(1048, "咬人");
        public static readonly KXApplication KX_APP_HOUSE = new KXApplication(1062, "买房子");

        
        public static readonly KXApplication[] KX_APPS = new KXApplication[]{
                KX_APP_PARKING, KX_APP_MUSIC, KX_APP_DISK, 
                KX_APP_COLLECT, KX_APP_PRESENT, KX_APP_MOVIE,
                KX_APP_SLAVE, KX_APP_BITE, KX_APP_HOUSE
            };


        public KXApplication(int appId, string appName) {
            this.appId = appId;
            this.appName = appName;
        }

        int appId;

        public int AppId
        {
            get { return appId; }
            set { appId = value; }
        }

        string appName;

        public string AppName
        {
            get { return appName; }
            set { appName = value; }
        }
    }
}
